<!DOCTYPE html>
<html lang="zh_CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>微信好友列表模仿</title>
    <style>
      ul {
        list-style: none;
      }
      li {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
      }
      img {
        border-radius: 5px;
      }
      .name {
        flex: 1;
        line-height: 55px;
        margin-left: 20px;
        border-bottom: 1px solid #f3f3f3;
      }
    </style>
  </head>
  <body>
    <ul>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-65834.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-17702.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-65834.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-17702.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-65834.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-17702.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-65834.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-17702.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-65834.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
      <li>
        <img
          width="48"
          height="48"
          src="https://www.thiswaifudoesnotexist.net/example-17702.jpg"
          alt=""
        />
        <span class="name">好友</span>
      </li>
    </ul>
  </body>
</html>
